home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / ProgressMonitor$2.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  1.2 KB  |  27 lines

  1. package javax.swing;
  2.  
  3. import java.beans.PropertyChangeEvent;
  4. import java.beans.PropertyChangeListener;
  5. import java.util.EventObject;
  6.  
  7. final class ProgressMonitor$2 implements PropertyChangeListener {
  8.    // $FF: synthetic field
  9.    private final ProgressMonitor.ProgressOptionPane this$1;
  10.    // $FF: synthetic field
  11.    private final JDialog val$dialog;
  12.  
  13.    // $FF: synthetic method
  14.    ProgressMonitor$2(JDialog var1, ProgressMonitor.ProgressOptionPane var2) {
  15.       this.val$dialog = var1;
  16.       this.this$1 = var2;
  17.    }
  18.  
  19.    public void propertyChange(PropertyChangeEvent var1) {
  20.       if (this.val$dialog.isVisible() && ((EventObject)var1).getSource() == this.this$1 && (var1.getPropertyName().equals("value") || var1.getPropertyName().equals("inputValue"))) {
  21.          this.val$dialog.setVisible(false);
  22.          this.val$dialog.dispose();
  23.       }
  24.  
  25.    }
  26. }
  27.